{  2 April 2011. Individual Olympiad. Problem set: http://neerc.ifmo.ru/school/io/archive/20110402/problems-20110402-individual.pdf
	Problem A
	Points: 100
}
var i,j,n,d:longint;
begin
reset(input,'experiment.in');
rewrite(output,'experiment.out');
read(n,d);
if odd(n) then begin
  write(d,' ');
  dec(n);
end;
i:=0;
j:=1;
while i<n do begin
  write(d+j,' ',d-j,' ');
  inc(j);
  inc(i,2);
end;
end.
